package com.user.profile.perm;


/**
 * @Author linlx
 * @Date 2021/9/14 14:42
 * @Description
 **/
public class ClickHousePerm {

  public static final String SELECT_SON = "SELECT 1 AS join_id, groupBitmapMergeState(user_ids) AS ";

  public static final String INSERT_VIP = "INSERT INTO ch_label_string VALUES ('VIP等级', '{0}', bitmapBuild(cast({1} as Array(UInt64))));";

  public static final String INSERT_AGE = "INSERT INTO ch_label_int VALUES ('年龄', {0}, bitmapBuild(cast({1} as Array(UInt64))));";
}
